package org.moonlight.jvm.natives.java.lang.clazz;

import org.moonlight.jvm.natives.AbstractNativeMethod;
import org.moonlight.jvm.rtda.exclusive.Frame;

/**
 * java.lang.Class native boolean desiredAssertionStatus0(Class<?> clazz)
 *
 * @author Moonlight
 * @createTime 2023/9/21 17:29
 **/
public class DesiredAssertionStatus0 extends AbstractNativeMethod {

    public DesiredAssertionStatus0() {
        super(JAVA_LANG_CLASS, "desiredAssertionStatus0", "(Ljava/lang/Class;)Z");
    }

    @Override
    public void nativeMethod(Frame frame) {
        frame.getOperandStack().pushBoolean(false);
    }

}
